home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-0497
/
AMOSLIST
/
000043_amos-request@svcs1.digex.net_Tue Apr 8 22:08:54 1997.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
3KB
|
71 lines
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail1.access.digex.net (8.8.5/8.8.5) with ESMTP id WAA29271
for <mcox@access.digex.net>; Tue, 8 Apr 1997 22:08:53 -0400 (EDT)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id TAA16355
for amos-out; Tue, 8 Apr 1997 19:57:49 -0400 (EDT)
Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id TAA16352
for <amos-list@svcs1.digex.net>; Tue, 8 Apr 1997 19:57:48 -0400 (EDT)
Received: from red.paston.co.uk (red.paston.co.uk [194.129.188.3])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id TAA17425
for <amos-list@access.digex.net>; Tue, 8 Apr 1997 19:57:47 -0400 (EDT)
Received: from paston.co.uk ([194.129.188.201]) by red.paston.co.uk with SMTP id <843018-145>; Wed, 9 Apr 1997 00:55:46 +0100
From: Ben Wyatt <bwyatt@paston.co.uk>
To: AMOS Mailing List <amos-list@access.digex.net>
Date: Tue, 08 Apr 1997 15:04:50 -0000
Message-ID: <yam7037.2525.3975360@194.129.188.3>
In-Reply-To: <yam7037.2372.137040736@vip.cybercity.dk>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Subject: Re: Optimisation
MIME-Version: 1.0
Content-Type: text/plain
Status: RO
X-Status:
On 08-Apr-97, Rune J. Keller sat on a keyboard and produced this mess:
> This very good file explains different ways to improve speed in your
> AMOS-programs.
Thanks!
> However some of the tips really surprised me. Ben states that A=A+1 should be
> faster than both Inc A and Add A,1. He also writes that Repeat ... Inc ...
> Until should be faster than For ... Next. I have been doing some tests on my
> system and it clearly proves that this is WRONG!
Whoops!
> I can not believe that Ben Wyatt has not checked his tips, so I must conclude
> that the difference in speed is different on different system (I do not think
> that Ben has a 68060?).
You're right. I tested most of the routines on an 020 and some on an 030 and
they were faster on them. I think these are probably more average systems.
> Anyway I am working on a small program that will test the speed of different
> commands, and I am thinking that it should be run on different systems, so we
> could clear out which commands is fastest on which system. The rest of the
> message is an output of my not-yet-finished speed tester.
I'd like a copy of this program when you finish it. I'll try it on my system.
Does the program take CPU caches into account? That causes some wierd results
on my 030.
> Do anyone has some comments on this?
Sounds good to me. I'd like to see some results for the > and >= comparision
tests. I can't believe the one is slower than the other.
> [SNIP]
I'll add these test results to the list.
Bye ____________________________________________________
/ \
/ Ben Wyatt - bwyatt@paston.co.uk or b.wyatt@uea.ac.uk \
\ http://www.paston.co.uk/users/bwyatt/index.html /
\____________________________________________________/
(c)1995-97 Very Interesting Signatures Ltd.